#pragma once

#include "D3DInterface.h"
#include <d3dx9mesh.h>

class CMtrlObj : public IFramework
{
public:
	CMtrlObj(IDirect3DDevice9 **p);
	virtual ~CMtrlObj(void);

	// Interface
public:
	virtual bool Setup();
	virtual bool Display(float timeDelta);
	virtual void Cleanup();

private:
	ID3DXMesh *Objects[5];
	D3DXMATRIX ObjWorldMatrices[5];
	D3DMATERIAL9 ObjMaterial[5];
	IDirect3DTexture9 *pTexture;
	IDirect3DDevice9 *pDevice;
};

